"""
用户管理模块的接口
"""


def register(url, br, data):
    url = url + "/futureloan/mvc/api/member/register"
    return br.post(url, data)


def login(url, br, data):
    url = url + "/futureloan/mvc/api/member/login"
    return br.post(url, data)


def recharge(url, br, data):
    url = url + "/futureloan/mvc/api/member/recharge"
    return br.post(url, data)


def user_list(url, br):
    url = url + "/futureloan/mvc/api/member/list"
    return br.get(url)
